﻿using System;
using System.Collections.Generic;
using System.Net;
using System.Text;

namespace AMInstantMessagingServerAPI
{
    public enum ClientType
    {
        PC,
        Web,
        Mobile,
    }

    public class UserClientInfo
    {
        /// <summary>
        /// 客户端类型
        /// </summary>
        public ClientType ClientType { get; set; }

        /// <summary>
        /// 登录时间
        /// </summary>
        public DateTime LoginTime { get; set; }

        /// <summary>
        /// 用户Id
        /// </summary>
        public long UserId { get; set; }

        /// <summary>
        /// 客户端所在IP
        /// </summary>
        public IPEndPoint IPEndPoint { get; set; }
    }
}
